<include file="$includeFile.public_header" /><!--或是"__ADMIN__/header"-->
<!--  右边内容   -->
<div class="list_tit">
    <span class="tit_left">您当前的位置：首页 > 管理员管理 > 管理员<php>if($_GET['id']){echo '编辑';}else{echo '添加';}</php></span>
    <a href="__URL__/" class="tit_right">+管理管理员</a>
</div>
<div class="page_list">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="list_table">
        <tr><th align="left" style="text-indent:5px;">管理员<present name="$Think.get.id">编辑<else/>添加</present></th></tr>
    </table>
    <form action="__URL__/<php>if($_GET['id']){echo 'update';}else{echo 'insert';}</php>" name="art_add" method="post" enctype="multipart/form-data">
        <input type="hidden" name="id" value="{$data.id}" />
        <table cellpadding="0" border="0" width="100%" class="add_table">
            <tr><th width="100">管理员用户名:</th>
                <td><input type="text" name="username" value="{$data.username}" maxlength="20" class="page_txt" /></td>
            </tr>
            <tr><th width="100">管理员密码:</th>
                <td><input type="password" name="password" maxlength="30" value="" class="page_txt" /><label class="lab"><php>if($_GET['id']){echo '留空则不修改密码！';}</php></label></td>
            </tr>
            <tr height="60">
                <th>&nbsp;</th>
                <td valign="middle"><input type="submit" name="edit_btn" class="btn" value="提 交" /></td>
            </tr>
        </table>
    </form>
    <div class="clr"></div>
</div>
<include file="$includeFile.public_footer" />